package com.css.fxfzaqbz.modules.data.service;

import com.css.fxfzaqbz.modules.data.entity.ImportantActivity;
import com.css.fxfzaqbz.modules.data.entity.Region;
import com.css.fxfzaqbz.modules.data.queryParams.ImportantActivityQueryParams;

import java.io.UnsupportedEncodingException;
import java.util.List;
import java.util.Map;

public interface ImportantActivityService {

    ImportantActivity updateImportantActivity(ImportantActivity importantActivity);
    ImportantActivity  saveImportantActivity(ImportantActivity importantActivity);
    Map<String,Object> getAllImportantActivity(ImportantActivityQueryParams queryParams) throws UnsupportedEncodingException;
    ImportantActivity getImportantActivityById(String id);
    void deleteImportantActivitys(List<String> ids, String userId);

    List<ImportantActivity> searchList(ImportantActivityQueryParams queryParams);

    String getNewIAId();

    List<ImportantActivity> getAllActivity();

    void updateActivityEndStatus(String iaId);

    List<String> getAllSiteName(String province,String city,String counties);

    List<String> getAllSiteName1(Region region);

    String getCodeByIaId(String iaId);

    Map<String, Object> getAll(ImportantActivityQueryParams queryParams);

    String getRole();

    String getExamine(String iaId);


    //下载表中内容
    //List<ImportantActivity>getAll();
    //导入内容
    //void importExcel(MultipartFile file) throws IOException;
}
